 package handling.channel.handler;

 import client.MapleCharacter;
 import client.MapleClient;
 import client.MapleStat;
 import client.PlayerStats;
 import client.skills.Skill;
 import client.skills.SkillEntry;
 import client.skills.SkillFactory;
 import configs.ServerConfig;
 import constants.GameConstants;
 import constants.JobConstants;
 import constants.SkillConstants;
 import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 import tools.MaplePacketCreator;
 import tools.Pair;
 import tools.Randomizer;
 import tools.data.input.LittleEndianAccessor;



 public class StatsHandling
 {
   public static void DistributeAP(LittleEndianAccessor slea, MapleClient c, MapleCharacter chr) {
/*  28 */     List<Pair<MapleStat, Long>> statupdate = new ArrayList<>(2);
/*  29 */     c.announce(MaplePacketCreator.updatePlayerStats(statupdate, true, chr));
/*  30 */     chr.updateTick(slea.readInt());

/*  32 */     PlayerStats stat = chr.getStat();
/*  33 */     int job = chr.getJob();
/*  34 */     int statLimit = ServerConfig.CHANNEL_PLAYER_MAXAP;
/*  35 */     if (chr.getRemainingAp() > 0) {
/*  36 */       int maxhp, maxmp; switch (slea.readInt()) {
         case 64:
/*  38 */           if (stat.getStr() >= statLimit) {
             return;
           }
/*  41 */           stat.setStr((short)(stat.getStr() + 1), chr);
/*  42 */           statupdate.add(new Pair(MapleStat.力量, Long.valueOf(stat.getStr())));
           break;
         case 128:
/*  45 */           if (stat.getDex() >= statLimit) {
             return;
           }
/*  48 */           stat.setDex((short)(stat.getDex() + 1), chr);
/*  49 */           statupdate.add(new Pair(MapleStat.敏捷, Long.valueOf(stat.getDex())));
           break;
         case 256:
/*  52 */           if (stat.getInt() >= statLimit) {
             return;
           }
/*  55 */           stat.setInt((short)(stat.getInt() + 1), chr);
/*  56 */           statupdate.add(new Pair(MapleStat.智力, Long.valueOf(stat.getInt())));
           break;
         case 512:
/*  59 */           if (stat.getLuk() >= statLimit) {
             return;
           }
/*  62 */           stat.setLuk((short)(stat.getLuk() + 1), chr);
/*  63 */           statupdate.add(new Pair(MapleStat.运气, Long.valueOf(stat.getLuk())));
           break;
         case 2048:
/*  66 */           maxhp = stat.getMaxHp();
/*  67 */           if (chr.getHpApUsed() >= 10000 || maxhp >= chr.getMaxHpForSever()) {
             return;
           }
/*  70 */           if (JobConstants.is新手职业(job)) {
/*  71 */             maxhp += Randomizer.rand(8, 12);
/*  72 */           } else if (JobConstants.is恶魔复仇者(job)) {
/*  73 */             maxhp += 30;
/*  74 */           } else if ((job >= 100 && job <= 132) || (job >= 3200 && job <= 3212) || (job >= 1100 && job <= 1112) || (job >= 3100 && job <= 3112) || (job >= 5100 && job <= 5112)) {
/*  75 */             maxhp += Randomizer.rand(36, 42);
/*  76 */           } else if ((job >= 200 && job <= 232) || JobConstants.is龙神(job) || (job >= 2700 && job <= 2712)) {
/*  77 */             maxhp += Randomizer.rand(10, 20);
/*  78 */           } else if ((job >= 300 && job <= 322) || (job >= 400 && job <= 434) || (job >= 1300 && job <= 1312) || (job >= 1400 && job <= 1412) || (job >= 3300 && job <= 3312) || (job >= 2300 && job <= 2312) || (job >= 2400 && job <= 2412)) {
/*  79 */             maxhp += Randomizer.rand(16, 20);
/*  80 */           } else if ((job >= 510 && job <= 512) || (job >= 1510 && job <= 1512)) {
/*  81 */             maxhp += Randomizer.rand(28, 32);
/*  82 */           } else if ((job >= 500 && job <= 532) || JobConstants.is龙的传人(job) || (job >= 3500 && job <= 3512) || job == 1500) {
/*  83 */             maxhp += Randomizer.rand(18, 22);
/*  84 */           } else if (job >= 1200 && job <= 1212) {
/*  85 */             maxhp += Randomizer.rand(15, 21);
/*  86 */           } else if ((job >= 2000 && job <= 2112) || (job >= 11200 && job <= 11212)) {
/*  87 */             maxhp += Randomizer.rand(38, 42);
/*  88 */           } else if (job >= 10100 && job <= 10112) {
/*  89 */             maxhp += Randomizer.rand(48, 52);
           } else {
/*  91 */             maxhp += Randomizer.rand(18, 26);
           }
/*  93 */           maxhp = Math.min(chr.getMaxHpForSever(), Math.abs(maxhp));
/*  94 */           chr.setHpApUsed((short)(chr.getHpApUsed() + 1));
/*  95 */           stat.setMaxHp(maxhp, chr);
/*  96 */           statupdate.add(new Pair(MapleStat.MAXHP, Long.valueOf(maxhp)));
           break;
         case 8192:
/*  99 */           maxmp = stat.getMaxMp();
/* 100 */           if (chr.getHpApUsed() >= 10000 || stat.getMaxMp() >= chr.getMaxMpForSever()) {
             return;
           }
/* 103 */           if (JobConstants.is新手职业(job))
/* 104 */           { maxmp += Randomizer.rand(6, 8); }
/* 105 */           else { if (JobConstants.isNotMpJob(job))
               return;
/* 107 */             if ((job >= 200 && job <= 232) || JobConstants.is龙神(job) || (job >= 3200 && job <= 3212) || (job >= 1200 && job <= 1212) || (job >= 2700 && job <= 2712)) {
/* 108 */               maxmp += Randomizer.rand(38, 40);
/* 109 */             } else if ((job >= 300 && job <= 322) || (job >= 400 && job <= 434) || (job >= 500 && job <= 532) || JobConstants.is龙的传人(job) || (job >= 3200 && job <= 3212) || (job >= 3500 && job <= 3512) || (job >= 1300 && job <= 1312) || (job >= 1400 && job <= 1412) || (job >= 1500 && job <= 1512) || (job >= 2300 && job <= 2312) || (job >= 2400 && job <= 2412)) {
/* 110 */               maxmp += Randomizer.rand(10, 12);
/* 111 */             } else if ((job >= 100 && job <= 132) || (job >= 1100 && job <= 1112) || (job >= 2000 && job <= 2112) || (job >= 5100 && job <= 5112)) {
/* 112 */               maxmp += Randomizer.rand(6, 9);
             } else {
/* 114 */               maxmp += Randomizer.rand(6, 12);
             }  }
/* 116 */            maxmp = Math.min(chr.getMaxMpForSever(), Math.abs(maxmp));
/* 117 */           chr.setHpApUsed((short)(chr.getHpApUsed() + 1));
/* 118 */           stat.setMaxMp(maxmp, chr);
/* 119 */           statupdate.add(new Pair(MapleStat.MAXMP, Long.valueOf(maxmp)));
           break;
         default:
/* 122 */           c.announce(MaplePacketCreator.enableActions());
           return;
       }
/* 125 */       chr.setRemainingAp((short)(chr.getRemainingAp() - 1));
/* 126 */       statupdate.add(new Pair(MapleStat.AVAILABLEAP, Long.valueOf(chr.getRemainingAp())));
/* 127 */       c.announce(MaplePacketCreator.updatePlayerStats(statupdate, true, chr));
     }
   }

   public static void DistributeSP(LittleEndianAccessor slea, MapleClient c, MapleCharacter chr) {
     int remainingSp;
/* 133 */     c.getPlayer().updateTick(slea.readInt());
/* 134 */     int skillid = slea.readInt();
/* 135 */     byte amount = (slea.available() > 0L) ? slea.readByte() : 1;
/* 136 */     if (chr.isAdmin()) {
/* 137 */       chr.dropMessage(5, "开始加技能点 - 技能ID: " + skillid + " 等级: " + amount);
     }
/* 139 */     boolean isBeginnerSkill = false;

/* 141 */     if (JobConstants.is新手职业(skillid / 10000))
/* 142 */     { boolean resistance = (skillid / 10000 == 3000 || skillid / 10000 == 3001);
/* 143 */       int snailsLevel = chr.getSkillLevel(SkillFactory.getSkill(skillid / 10000 * 10000 + 1000));
/* 144 */       int recoveryLevel = chr.getSkillLevel(SkillFactory.getSkill(skillid / 10000 * 10000 + 1001));
/* 145 */       int nimbleFeetLevel = chr.getSkillLevel(SkillFactory.getSkill(skillid / 10000 * 10000 + (resistance ? 2 : 1002)));
/* 146 */       remainingSp = Math.min(chr.getLevel() - 1, resistance ? 9 : 6) - snailsLevel - recoveryLevel - nimbleFeetLevel;
/* 147 */       isBeginnerSkill = true; }
/* 148 */     else { if (JobConstants.is新手职业(skillid / 10000)) {
/* 149 */         if (chr.isAdmin()) {
/* 150 */           chr.dropMessage(5, "加技能点错误 - 1");
         }
/* 152 */         c.announce(MaplePacketCreator.enableActions());
         return;
       }
/* 155 */       if (JobConstants.is暗影双刀(chr.getJob())) {
/* 156 */         int skillbook = JobConstants.getSkillBookBySkill(skillid);
/* 157 */         if (skillbook == 0 || skillbook == 1) {
/* 158 */           remainingSp = chr.getRemainingSp(0) + chr.getRemainingSp(1);
/* 159 */         } else if (skillbook == 2 || skillbook == 3) {
/* 160 */           remainingSp = chr.getRemainingSp(2) + chr.getRemainingSp(3);
         } else {
/* 162 */           remainingSp = chr.getRemainingSp(JobConstants.getSkillBookBySkill(skillid));
         }
       } else {
/* 165 */         remainingSp = chr.getRemainingSp(JobConstants.getSkillBookBySkill(skillid));
       }  }

/* 168 */     Skill skill = SkillFactory.getSkill(skillid);
/* 169 */     if (skill == null) {
/* 170 */       if (chr.isAdmin()) {
/* 171 */         chr.dropMessage(5, "加技能点错误 - 技能为空 当前技能ID: " + skillid);
       }
/* 173 */       c.announce(MaplePacketCreator.enableActions());
       return;
     }
/* 176 */     for (Pair<String, Byte> ski : (Iterable<Pair<String, Byte>>)skill.getRequiredSkills()) {
/* 177 */       if (((String)ski.left).equalsIgnoreCase("level")) {
/* 178 */         if (chr.getLevel() < ((Byte)ski.right).byteValue()) {
/* 179 */           if (chr.isAdmin()) {
/* 180 */             chr.dropMessage(5, "加技能点错误 - 技能要求等级: " + ski.right + " 当前角色等级: " + chr.getLevel());
           }
/* 182 */           c.announce(MaplePacketCreator.enableActions()); return;
         }  continue;
       }
/* 185 */       if (((String)ski.left).equalsIgnoreCase("reqAmount")) {
/* 186 */         int reqAmount = chr.getBeastTamerSkillLevels(skillid);
/* 187 */         if (reqAmount < ((Byte)ski.right).byteValue()) {
/* 188 */           if (chr.isAdmin()) {
/* 189 */             chr.dropMessage(5, "加技能点错误 - 技能要求投入点数: " + ski.right + " 当前投入点数: " + reqAmount);
           }
/* 191 */           c.announce(MaplePacketCreator.enableActions()); return;
         }
         continue;
       }
/* 195 */       int left = Integer.parseInt((String)ski.left);
/* 196 */       if (chr.getSkillLevel(SkillFactory.getSkill(left)) < ((Byte)ski.right).byteValue()) {
/* 197 */         if (chr.isAdmin()) {
/* 198 */           chr.dropMessage(5, "加技能点错误 - 前置技能: " + left + " - " + SkillFactory.getSkillName(left) + " 的技能等级不足.");
         }
/* 200 */         c.announce(MaplePacketCreator.enableActions());

         return;
       }
     }
/* 205 */     int maxlevel = SkillConstants.isFourthJob(skill.getId()) ? chr.getMasterLevel(skill) : skill.getMaxLevel();
/* 206 */     int curLevel = chr.getSkillLevel(skill);

/* 208 */     if (skill.isInvisible() && chr.getSkillLevel(skill) == 0 && ((
/* 209 */       SkillConstants.isFourthJob(skill.getId()) && chr.getMasterLevel(skill) == 0) || (!SkillConstants.isFourthJob(skill.getId()) && maxlevel < 10 && !isBeginnerSkill && chr.getMasterLevel(skill) <= 0 && !JobConstants.is暗影双刀(chr.getJob())))) {
/* 210 */       if (chr.isAdmin()) {
/* 211 */         chr.dropMessage(5, "加技能点错误 - 3 检测 -> isFourthJob : " + SkillConstants.isFourthJob(skill.getId()) + " getMasterLevel: " + chr.getMasterLevel(skill) + " 当前技能最大等级: " + maxlevel);
       }
/* 213 */       c.announce(MaplePacketCreator.enableActions());

       return;
     }
/* 217 */     for (int i : GameConstants.blockedSkills) {
/* 218 */       if (skill.getId() == i) {
/* 219 */         chr.dropMessage(1, "这个技能未修复，暂时无法加点.");
/* 220 */         c.announce(MaplePacketCreator.enableActions());
         return;
       }
     }
/* 224 */     if (chr.isAdmin()) {
/* 225 */       chr.dropMessage(5, "开始加技能点 - 当前Sp: " + remainingSp + " 当前技能等级: " + curLevel + " 该技能最大等级: " + maxlevel + " 所加的等级: " + amount + " 是否为该职业技能: " + skill.canBeLearnedBy(chr.getJob()));
     }
/* 227 */     if (remainingSp >= amount && curLevel + amount <= maxlevel && skill.canBeLearnedBy(chr.getJob())) {
/* 228 */       if (!isBeginnerSkill) {
/* 229 */         int skillbook = JobConstants.getSkillBookBySkill(skillid);
/* 230 */         if (JobConstants.is暗影双刀(chr.getJob()) && skillbook < 4) {
/* 231 */           int tempsp = amount;
/* 232 */           skillbook = (skillbook == 1) ? 0 : ((skillbook == 3) ? 2 : skillbook);
/* 233 */           for (int i = skillbook; i < skillbook + 2; i++) {
/* 234 */             if (chr.getRemainingSp(i) < tempsp) {
/* 235 */               tempsp -= chr.getRemainingSp(i);
/* 236 */               chr.setRemainingSp(0, i);
             } else {
/* 238 */               chr.setRemainingSp(chr.getRemainingSp(i) - tempsp, i);
               break;
             }
           }
         } else {
/* 243 */           chr.setRemainingSp(chr.getRemainingSp(skillbook) - amount, skillbook);
         }
       }
/* 246 */       chr.updateSingleStat(MapleStat.AVAILABLESP, 0L);
/* 247 */       chr.changeSingleSkillLevel(skill, (byte)(curLevel + amount), chr.getMasterLevel(skill));
     } else {

/* 250 */       if (chr.isAdmin()) {
/* 251 */         chr.dropMessage(5, "加技能点错误 - SP点数不足够或者技能不是该角色的技能.");
       }
/* 253 */       c.announce(MaplePacketCreator.enableActions());
     }

/* 256 */     chr.AutoCelebrityCrit();
   }












   public static void AutoAssignAP(LittleEndianAccessor slea, MapleClient c, MapleCharacter chr) {
/* 271 */     if (chr == null) {
       return;
     }
/* 274 */     chr.updateTick(slea.readInt());
/* 275 */     int autoSpSize = slea.readInt();
/* 276 */     if (slea.available() < (autoSpSize * 12)) {
       return;
     }
/* 279 */     int PrimaryStat = (int)slea.readLong();
/* 280 */     int amount = slea.readInt();
/* 281 */     int SecondaryStat = (autoSpSize > 1) ? (int)slea.readLong() : 0;
/* 282 */     int amount2 = (autoSpSize > 1) ? slea.readInt() : 0;
/* 283 */     if (amount < 0 || amount2 < 0) {
       return;
     }
/* 286 */     PlayerStats playerst = chr.getStat();
/* 287 */     boolean usedAp1 = true, usedAp2 = true;
/* 288 */     List<Pair<MapleStat, Long>> statupdate = new ArrayList<>(2);

/* 290 */     int statLimit = ServerConfig.CHANNEL_PLAYER_MAXAP;
/* 291 */     if (chr.getRemainingAp() >= amount + amount2) {
/* 292 */       int maxhp; switch (PrimaryStat) {
         case 64:
/* 294 */           if (playerst.getStr() + amount > statLimit) {
             return;
           }
/* 297 */           playerst.setStr((short)(playerst.getStr() + amount), chr);
/* 298 */           statupdate.add(new Pair(MapleStat.力量, Long.valueOf(playerst.getStr())));
           break;
         case 128:
/* 301 */           if (playerst.getDex() + amount > statLimit) {
             return;
           }
/* 304 */           playerst.setDex((short)(playerst.getDex() + amount), chr);
/* 305 */           statupdate.add(new Pair(MapleStat.敏捷, Long.valueOf(playerst.getDex())));
           break;
         case 256:
/* 308 */           if (playerst.getInt() + amount > statLimit) {
             return;
           }
/* 311 */           playerst.setInt((short)(playerst.getInt() + amount), chr);
/* 312 */           statupdate.add(new Pair(MapleStat.智力, Long.valueOf(playerst.getInt())));
           break;
         case 512:
/* 315 */           if (playerst.getLuk() + amount > statLimit) {
             return;
           }
/* 318 */           playerst.setLuk((short)(playerst.getLuk() + amount), chr);
/* 319 */           statupdate.add(new Pair(MapleStat.运气, Long.valueOf(playerst.getLuk())));
           break;
         case 2048:
/* 322 */           maxhp = playerst.getMaxHp();
/* 323 */           if (chr.getHpApUsed() >= 10000 || maxhp >= chr.getMaxHpForSever() || !JobConstants.is恶魔复仇者(chr.getJob())) {
             return;
           }
/* 326 */           maxhp += 30 * amount;
/* 327 */           maxhp = Math.min(chr.getMaxHpForSever(), Math.abs(maxhp));
/* 328 */           chr.setHpApUsed((short)(chr.getHpApUsed() + amount));
/* 329 */           playerst.setMaxHp(maxhp, chr);
/* 330 */           statupdate.add(new Pair(MapleStat.MAXHP, Long.valueOf(playerst.getMaxHp())));
           break;
         default:
/* 333 */           usedAp1 = false;
           break;
       }
/* 336 */       switch (SecondaryStat) {
         case 64:
/* 338 */           if (playerst.getStr() + amount2 > statLimit) {
             return;
           }
/* 341 */           playerst.setStr((short)(playerst.getStr() + amount2), chr);
/* 342 */           statupdate.add(new Pair(MapleStat.力量, Long.valueOf(playerst.getStr())));
           break;
         case 128:
/* 345 */           if (playerst.getDex() + amount2 > statLimit) {
             return;
           }
/* 348 */           playerst.setDex((short)(playerst.getDex() + amount2), chr);
/* 349 */           statupdate.add(new Pair(MapleStat.敏捷, Long.valueOf(playerst.getDex())));
           break;
         case 256:
/* 352 */           if (playerst.getInt() + amount2 > statLimit) {
             return;
           }
/* 355 */           playerst.setInt((short)(playerst.getInt() + amount2), chr);
/* 356 */           statupdate.add(new Pair(MapleStat.智力, Long.valueOf(playerst.getInt())));
           break;
         case 512:
/* 359 */           if (playerst.getLuk() + amount2 > statLimit) {
             return;
           }
/* 362 */           playerst.setLuk((short)(playerst.getLuk() + amount2), chr);
/* 363 */           statupdate.add(new Pair(MapleStat.运气, Long.valueOf(playerst.getLuk())));
           break;
         default:
/* 366 */           usedAp2 = false;
           break;
       }
/* 369 */       if ((!usedAp1 || !usedAp2) && chr.isAdmin()) {
/* 370 */         chr.dropMessage(5, "自动分配能力点 - 主要: " + usedAp1 + " 次要: " + usedAp2);
       }
/* 372 */       chr.setRemainingAp((short)(chr.getRemainingAp() - (usedAp1 ? amount : 0) + (usedAp2 ? amount2 : 0)));
/* 373 */       statupdate.add(new Pair(MapleStat.AVAILABLEAP, Long.valueOf(chr.getRemainingAp())));

/* 375 */       c.announce(MaplePacketCreator.updatePlayerStats(statupdate, true, chr, true));
     }
   }

   public static void DistributeHyperSP(int skillid, MapleClient c, MapleCharacter chr, boolean isStat) {
/* 380 */     Skill skill = SkillFactory.getSkill(skillid);
/* 381 */     if (skill != null && (skill.isHyperSkill() || skill.isHyperStat())) {
/* 382 */       if (!isStat) {
/* 383 */         if (chr.getLevel() >= skill.getReqLevel() && skill.canBeLearnedBy(chr.getJob()) && chr.getSkillLevel(skill) == 0) {
/* 384 */           chr.changeSingleSkillLevel(skill, 1, (byte)skill.getMaxLevel());
         }
/* 386 */       } else if (chr.getSkillLevel(skill) < skill.getMaxLevel()) {
/* 387 */         if (skillid == 80000406 && !JobConstants.is恶魔猎手(chr.getJob())) {
/* 388 */           chr.dropMessage(1, "该技能只有恶魔猎手可以使用.");
         } else {
/* 390 */           chr.changeSingleSkillLevel(skill, chr.getSkillLevel(skill) + 1, (byte)skill.getMaxLevel());
         }
       }
/* 393 */       chr.getStat().recalcLocalStats(chr);
     }
/* 395 */     c.announce(MaplePacketCreator.enableActions());
   }

   public static void ResetHyperSP(LittleEndianAccessor slea, MapleClient c, MapleCharacter chr) {
/* 399 */     chr.updateTick(slea.readInt());
/* 400 */     int amount = slea.readShort();
/* 401 */     if (amount > 0) {
/* 402 */       Map<Integer, SkillEntry> oldList = new HashMap<>(chr.getSkills());
/* 403 */       Map<Integer, SkillEntry> newList = new HashMap<>();
/* 404 */       for (Map.Entry<Integer, SkillEntry> toRemove : oldList.entrySet()) {
/* 405 */         Skill skill = SkillFactory.getSkill(((Integer)toRemove.getKey()).intValue());
/* 406 */         if (skill != null && skill.isHyperSkill() && chr.getSkillLevel(((Integer)toRemove.getKey()).intValue()) == 1) {
/* 407 */           if (skill.canBeLearnedBy(chr.getJob())) {
/* 408 */             newList.put(toRemove.getKey(), new SkillEntry(0, ((SkillEntry)toRemove.getValue()).masterlevel, ((SkillEntry)toRemove.getValue()).expiration)); continue;
           }
/* 410 */           newList.put(toRemove.getKey(), new SkillEntry(0, (byte)0, -1L));
         }
       }

/* 414 */       if (!newList.isEmpty() && chr.getMeso() >= (amount * 1000000)) {
/* 415 */         chr.gainMeso((-amount * 1000000), true, true);
/* 416 */         chr.changeSkillsLevel(newList);
/* 417 */         chr.dropMessage(1, "超级技能初始化完成\r\n本次消费金币: " + (amount * 1000000));
       } else {
/* 419 */         chr.dropMessage(1, "超级技能初始化失败，您的金币不足。本次需要金币: " + (amount * 1000000));
       }
/* 421 */       oldList.clear();
/* 422 */       newList.clear();
     }
/* 424 */     c.announce(MaplePacketCreator.enableActions());
   }

   public static void ResetHyperAP(LittleEndianAccessor slea, MapleClient c, MapleCharacter chr) {
/* 428 */     Map<Integer, SkillEntry> oldList = new HashMap<>(chr.getSkills());
/* 429 */     Map<Integer, SkillEntry> newList = new HashMap<>();
/* 430 */     for (Map.Entry<Integer, SkillEntry> toRemove : oldList.entrySet()) {
/* 431 */       Skill skill = SkillFactory.getSkill(((Integer)toRemove.getKey()).intValue());
/* 432 */       if (skill != null && skill.isHyperStat() && chr.getSkillLevel(((Integer)toRemove.getKey()).intValue()) > 0) {
/* 433 */         newList.put(toRemove.getKey(), new SkillEntry(0, (byte)0, -1L));
       }
     }
/* 436 */     if (!newList.isEmpty() && chr.getMeso() >= 10000000L) {
/* 437 */       chr.gainMeso(-10000000L, true, true);
/* 438 */       chr.changeSkillsLevel(newList);
/* 439 */       chr.dropMessage(1, "超级属性点初始化完成\r\n本次消费金币: 10000000");
     } else {
/* 441 */       chr.dropMessage(1, "超级属性点初始化失败，您的金币不足。本次需要金币: 10000000");
     }
/* 443 */     oldList.clear();
/* 444 */     newList.clear();
/* 445 */     c.announce(MaplePacketCreator.enableActions());
   }
 }


/* Location:              C:\PGX\Server.jar!\handling\channel\handler\StatsHandling.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */